Integrand size = 20, antiderivative size = 171 \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\frac {(b c-a d) (5 b c+a d) \sqrt {a+b x} \sqrt {c+d x}}{8 b d^3}-\frac {(5 b c+a d) (a+b x)^{3/2} \sqrt {c+d x}}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}-\frac {(b c-a d)^2 (5 b c+a d) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{8 b^{3/2} d^{7/2}} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 171, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {81, 52, 65, 223, 212} \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=-\frac {(b c-a d)^2 (a d+5 b c) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{8 b^{3/2} d^{7/2}}+\frac {\sqrt {a+b x} \sqrt {c+d x} (b c-a d) (a d+5 b c)}{8 b d^3}-\frac {(a+b x)^{3/2} \sqrt {c+d x} (a d+5 b c)}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d} \]
[In]
[Out]
Rule 52
Rule 65
Rule 81
Rule 212
Rule 223
Rubi steps \begin{align*} \text {integral}& = \frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}-\frac {(5 b c+a d) \int \frac {(a+b x)^{3/2}}{\sqrt {c+d x}} \, dx}{6 b d} \\ & = -\frac {(5 b c+a d) (a+b x)^{3/2} \sqrt {c+d x}}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}+\frac {((b c-a d) (5 b c+a d)) \int \frac {\sqrt {a+b x}}{\sqrt {c+d x}} \, dx}{8 b d^2} \\ & = \frac {(b c-a d) (5 b c+a d) \sqrt {a+b x} \sqrt {c+d x}}{8 b d^3}-\frac {(5 b c+a d) (a+b x)^{3/2} \sqrt {c+d x}}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}-\frac {\left ((b c-a d)^2 (5 b c+a d)\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx}{16 b d^3} \\ & = \frac {(b c-a d) (5 b c+a d) \sqrt {a+b x} \sqrt {c+d x}}{8 b d^3}-\frac {(5 b c+a d) (a+b x)^{3/2} \sqrt {c+d x}}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}-\frac {\left ((b c-a d)^2 (5 b c+a d)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{8 b^2 d^3} \\ & = \frac {(b c-a d) (5 b c+a d) \sqrt {a+b x} \sqrt {c+d x}}{8 b d^3}-\frac {(5 b c+a d) (a+b x)^{3/2} \sqrt {c+d x}}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}-\frac {\left ((b c-a d)^2 (5 b c+a d)\right ) \text {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{8 b^2 d^3} \\ & = \frac {(b c-a d) (5 b c+a d) \sqrt {a+b x} \sqrt {c+d x}}{8 b d^3}-\frac {(5 b c+a d) (a+b x)^{3/2} \sqrt {c+d x}}{12 b d^2}+\frac {(a+b x)^{5/2} \sqrt {c+d x}}{3 b d}-\frac {(b c-a d)^2 (5 b c+a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{8 b^{3/2} d^{7/2}} \\ \end{align*}
Time = 0.31 (sec) , antiderivative size = 136, normalized size of antiderivative = 0.80 \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\frac {\sqrt {a+b x} \sqrt {c+d x} \left (3 a^2 d^2+2 a b d (-11 c+7 d x)+b^2 \left (15 c^2-10 c d x+8 d^2 x^2\right )\right )}{24 b d^3}-\frac {(b c-a d)^2 (5 b c+a d) \text {arctanh}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {d} \sqrt {a+b x}}\right )}{8 b^{3/2} d^{7/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(394\) vs. \(2(139)=278\).
Time = 0.55 (sec) , antiderivative size = 395, normalized size of antiderivative = 2.31
method | result | size |
default | \(-\frac {\sqrt {b x +a}\, \sqrt {d x +c}\, \left (-16 b^{2} d^{2} x^{2} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+3 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{3} d^{3}+9 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b c \,d^{2}-27 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a \,b^{2} c^{2} d +15 \ln \left (\frac {2 b d x +2 \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) b^{3} c^{3}-28 \sqrt {b d}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a b \,d^{2} x +20 \sqrt {b d}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, b^{2} c d x -6 \sqrt {b d}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a^{2} d^{2}+44 \sqrt {b d}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a b c d -30 \sqrt {b d}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, b^{2} c^{2}\right )}{48 b \,d^{3} \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \sqrt {b d}}\) | \(395\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 412, normalized size of antiderivative = 2.41 \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\left [\frac {3 \, {\left (5 \, b^{3} c^{3} - 9 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} + a^{3} d^{3}\right )} \sqrt {b d} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} - 4 \, {\left (2 \, b d x + b c + a d\right )} \sqrt {b d} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) + 4 \, {\left (8 \, b^{3} d^{3} x^{2} + 15 \, b^{3} c^{2} d - 22 \, a b^{2} c d^{2} + 3 \, a^{2} b d^{3} - 2 \, {\left (5 \, b^{3} c d^{2} - 7 \, a b^{2} d^{3}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{96 \, b^{2} d^{4}}, \frac {3 \, {\left (5 \, b^{3} c^{3} - 9 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} + a^{3} d^{3}\right )} \sqrt {-b d} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {-b d} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (b^{2} d^{2} x^{2} + a b c d + {\left (b^{2} c d + a b d^{2}\right )} x\right )}}\right ) + 2 \, {\left (8 \, b^{3} d^{3} x^{2} + 15 \, b^{3} c^{2} d - 22 \, a b^{2} c d^{2} + 3 \, a^{2} b d^{3} - 2 \, {\left (5 \, b^{3} c d^{2} - 7 \, a b^{2} d^{3}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{48 \, b^{2} d^{4}}\right ] \]
[In]
[Out]
\[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\int \frac {x \left (a + b x\right )^{\frac {3}{2}}}{\sqrt {c + d x}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.25 \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\frac {{\left (\sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \sqrt {b x + a} {\left (2 \, {\left (b x + a\right )} {\left (\frac {4 \, {\left (b x + a\right )}}{b^{2} d} - \frac {5 \, b^{3} c d^{3} + a b^{2} d^{4}}{b^{4} d^{5}}\right )} + \frac {3 \, {\left (5 \, b^{4} c^{2} d^{2} - 4 \, a b^{3} c d^{3} - a^{2} b^{2} d^{4}\right )}}{b^{4} d^{5}}\right )} + \frac {3 \, {\left (5 \, b^{3} c^{3} - 9 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} + a^{3} d^{3}\right )} \log \left ({\left | -\sqrt {b d} \sqrt {b x + a} + \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \right |}\right )}{\sqrt {b d} b d^{3}}\right )} b}{24 \, {\left | b \right |}} \]
[In]
[Out]
Timed out. \[ \int \frac {x (a+b x)^{3/2}}{\sqrt {c+d x}} \, dx=\int \frac {x\,{\left (a+b\,x\right )}^{3/2}}{\sqrt {c+d\,x}} \,d x \]
[In]
[Out]